﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using sdm.exam.domain.DataContext;

namespace sdm.exam.domain.Manager
{
    public class EducationManager
    {
        /// <summary>
        /// Gets a list of educations.
        /// </summary>
        /// <returns>A listing containg the educations.</returns>
        public List<Entities.Education> GetListOfEducations()
        {
            var educDomain = new EducationDomain();
            return educDomain.GetListOfEducations();
        }

        /// <summary>
        /// Gets a specific education.
        /// </summary>
        /// <param name="id">The id of the education to get.</param>
        /// <returns></returns>
        public Entities.Education GetEducationById(int id)
        {
            var eduDomain = new EducationDomain();
            return eduDomain.GetEducationById(id);
        }
    }
}
